import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //     path: '/CompanyRefinanceListWeb',
    //     component: resolve => require(['@/views/noAuth/refinance.vue'], resolve),
    // },
    {
      path: '/',
      name: 'index',
      component: () => import('@/views/noAuth/refinance.vue')
    },
    {
      path: '/index',
      component: resolve => require(['@/views/noAuth/refinance.vue'], resolve),
      },
    {
      path: '/login',
      name: 'login',
      component: () => import('./views/login.vue')
    },
  ]
})